#pragma once

#include <stddef.h>

typedef struct {
    size_t hostel_id; /* hostel_id starts from 1, <= Building.hostel_num */
    size_t building_id;
    size_t bed_num;
} Hostel;

void register_hostel(size_t hostel_id, size_t building_id, size_t bed_num);
int unregister_hostel(size_t hostel_id, size_t Building_id);
int edit_hostel(size_t hostel_id, size_t building_id, size_t bed_num);
void list_hostels(void);
Hostel* get_hostel(size_t hostel_id, size_t Building_id);
void init_hostel_module(void);
